# include <stdio.h>

int mu(int a)
{
	int i,a1=1,a2=2,a3;
	if (1 == a)
		a3 = 1;
	else if (2 == a)
		a3 = 2;
	else
	{
		for (i=3; i<=a; ++i)
		{
			a3 = a1 + a2;
			a1 = a2;
			a2 = a3;
		}
	}
	return a3;
}
int zi(int b)
{
	int j,b1=2,b2=3,b3;
	if (1 == b)
		b3 = 2;
	else if (2 == b)
		b3 = 3;
	else
	{
		for (j=3; j<=b; ++j)
		{
			b3 = b1 + b2;
			b1 = b2;
			b2 = b3;
		}
	}
	return b3;
}


int main(void)
{
	int i,a,b;
	float sum=0;
	for(i=1;i<=20;++i)
	{	
		printf("%d/%d\n",zi(i),mu(i));
		
		sum+=zi(i)/float(mu(i));
		printf("\t%f\n",sum);
	}
	return 0;
}